package cn.pzhuweb.gpa.pojo;

import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;

/**
 * @author KK
 * @CreateTime 2022-08-29
 */
@Data
public class Gpa {

    /**
     * 学号
     */
    @TableId
    private String stuId;

    /**
     * 姓名
     */
    private String name;

    /**
     * 绩点
     */
    private double credit;

    /**
     * 学年
     */
    private String time;

    public Gpa(String stuId, String name, double v, String time) {
        this.stuId = stuId;
        this.name = name;
        this.credit = v;
        this.time = time;
    }
}
